@include("/common/_html_start.html", {title: 'blog 列表'}){}
@include("/common/_header.html"){}


<section id="blog" class="container">
	<div class="blog">
		<div class="row">
			<div class="col-md-8">
				@for(record in recordPageInfo.list){
				<div class="blog-item">
					<div class="row">
						<div class="col-xs-12 col-sm-2 text-center">
							<div class="entry-meta">
								<span id="publish_date">${record.publish_time!, dateFormat="yyyy-MM-dd"}</span>
								<span><i class="fa fa-user"></i> <a href="javascript:void(0);">John Doe</a></span>
								<span><i class="fa fa-comment"></i> <a href="javascript:void(0);">暂无回复</a></span>
								<span><i class="fa fa-heart"></i><a href="javascript:void(0);">${record.read_count!0} 阅读</a></span>
							</div>
						</div>

						<div class="col-xs-12 col-sm-10 blog-content">
							<!-- <a href="#"><img class="img-responsive img-blog" src="${ctxPath}/images/blog/blog1.jpg" width="100%" alt="" /></a> -->
							<h3><a href="/blog/${record.uid}.html">${record.title}</a></h3>
							<h4>
								@for(tag in tagList!){
									@for(rt in strutil.split(record.tags!"",",")) {
										@if(rt==(""+tag.id!)){
										<a href="${ctxPath}/blog?tagId=${tag.id}" class="btn btn-xs btn-default">${tag.tag!}</a>
										@}
									@}
								@}
							</h4>
							<a class="btn btn-primary readmore" href="/blog/${record.uid}.html">阅读 <i class="fa fa-angle-right"></i></a>
						</div>
					</div>
				</div><!--/.blog-item-->
				@} elsefor{
				<div class="row">
					<p class="text-danger">暂无结果</p>
				</div>
				@}
				@include("/common/_paginate.html", {actionUrl:"blog", currentPage:recordPageInfo.pageNum, totalPage:recordPageInfo.pages, totalRow:recordPageInfo.total, urlParas:"&categoryId="+categoryId+"&tagId="+tagId}){}

			</div><!--/.col-md-8-->
			@include("/blog/_blog_right.html"){}

		</div><!--/.row-->
	</div>
</section><!--/#blog-->


@include("/common/_bottom.html"){}
@include("/common/_footer.html"){}
@include("/common/_html_common_js.html"){}
@include("/common/_html_end.html"){}